package org.example.traing.service;

import org.example.traing.entity.ChatMessage;

import java.util.List;

public interface ChatService {


    // 保存聊天消息
    public void saveMessage(ChatMessage message);

    // 获取聊天消息
    public List<ChatMessage> getMessages(String roomId);
}
